package cn.fl.mcr.service.white;

import cn.lionbridgecapital.loan.model.base.Pager;
import cn.lionbridgecapital.loan.model.dto.white.McrWhiteInspectDTO;
import cn.lionbridgecapital.loan.model.exception.BaseException;

/**
 * @Author: YangXin
 * @Description: 白名单线上验证服务
 * @CreateTime: 2020-6-24-下午 2:11
 * @Version: 1.0.0
 **/
public interface IMcrWhiteInspectService {

    /**
     * 分页查询
     * @param pager 分页条件
     * @return 分页数据
     * @throws BaseException 分页异常、Dubbo异常
     */
    Pager searchListPage(Pager pager)throws BaseException;

    /**
     * 修改白名单数据
     * @param mcrWhiteInspectDTO
     * @return
     * @throws BaseException
     */
    boolean modifyWhite(McrWhiteInspectDTO mcrWhiteInspectDTO)throws BaseException;

    /**
     * 新增白名单数据
     * @param mcrWhiteInspectDTO
     * @return
     * @throws BaseException
     */
    Long insertWhite(McrWhiteInspectDTO mcrWhiteInspectDTO)throws BaseException;
}
